<%--
  Created by IntelliJ IDEA.
  User: box
  Date: 2021/08/23
  Time: 16:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
  <a href="/test">get请求</a>
  <h1>测试request</h1>
  <a href="/test2?name=周颖">test-request-get</a>
  <form action="/test2" method="post">
    uname:<input type="text" name="username"/>
    爱好:<input type="checkbox" name="hobby" value="basketball">篮球
    <input type="checkbox" name="hobby" value="football">足球
    <input type="checkbox" name="hobby" value="tenistball">网球
    <input type="submit" value="提交">
  </form>
  </body>
</html>
